Network Layer
- URL:http://<networkservice-url>/<layerName>
- Operations:Solve Closest Facility, Solve Route, Solve Service Area, Retrieve Travel Modes
- Version Introduced:9.3
Description
The network layer resource represents a single network layer in a network analysis service published by ArcGIS Server. It provides basic information about the network layer such as its name, type, and network classes. Additionally, depending on the layer type, it provides different pieces of information as detailed in the examples.
New in 10.4
Network layer resource now includes defaultTravelMode to identify the id of the default travel mode. Both the network layer resource and network attributes now include trafficSupport to show the level of traffic data the service supports. Attribute parameter values also have parameterType to help assist in converting parameter values to the correct type.
New in 10.3
Network layer resource now includes supportedTravelModes to show the travel modes configured on the network dataset used by the service.
New in 10.1
Network layer resource now includes hasZ and hasM properties to indicate if it is Z or M aware.
Request Parameters
Parameter |
Details |
---|---|
f |
Description: The response format. The default response format is html. Values: html | json |
JSON Response Syntax (Route Layer)
{
"accumulateAttributeNames": [
"<accumulateAttribute1>",
"<accumulateAttribute2>"
],
"attributeParameterValues": [
{
"attributeName": "<attributeName1>",
"parameterName": "<parameterName1>",
"value": "<value1>"
},
{
"attributeName": "<attributeName2>",
"parameterName": ">parameterName2>",
"value": "<value2>"
}
],
"currentVersion": <currentVersion>,
"directionsLanguage": "<languageCode>",
"directionsLengthUnits": "<esriNAUnits>",
"directionsStyleNames": [
"<directionsStyleName1>",
"<directionsStyleName2>"
],
"directionsSupportedLanguages": [
"<languageCode1>",
"<languageCode2>"
],
"directionsTimeAttribute": "<directionsTimeAttribute>",
"findBestSequence": <true|false>,
"hasM": <true|false>,
"hasZ": <true|false>,
"hierarchyAttributeName": "<hierarchyAttributeName>",
"hierarchyLevelCount": <hierarchyLevelCount>,
"hierarchyMaxValues": [
<hierarchyMaxValue1>,
<hierarchyMaxValue2>
],
"hierarchyNumTransitions": [
<hierarchyNumTransitions1>,
<hierarchyNumTransitions2>
],
"ignoreInvalidLocations": <true|false>,
"impedance": "<impedance>",
"layerName": "<layerName>",
"layerType": "esriNAServerRouteLayer",
"maxSnapTolerance": <maxSnapTolerance>,
"networkClasses": [
{
"className": "<className1>",
"fields": [
{
"fieldName": "<name1_1>",
"defaultValue": "<value1_1>",
"candidateFields": [
"<cf1_1_1>",
"<cf1_1_2>"
]
},
{
"fieldName": "<name1_2>",
"defaultValue": "<value1_2>",
"candidateFields": [
"<cf1_2_1>",
"<cf1_2_2>"
]
}
]
},
{
"className": "<className2>",
"fields": [
{
"fieldName": "<name2_1>",
"defaultValue": "<value2_1>",
"candidateFields": [
"<cf2_1_1>",
"<cf2_1_2>"
]
},
{
"fieldName": "<name2_2>",
"defaultValue": "<value2_2>",
"candidateFields": [
"<cf2_2_1>",
"<cf2_2_2>"
]
}
]
}
],
"networkDataset": {
"buildTime": <buildTime>,
"name": "<name>",
"networkAttributes": [
{
"dataType": "<dataType1>",
"name": "<name1>",
"parameterNames": [
"<parameterName1_2>",
"<parameterName1_2>"
],
"restrictionUsageParameterName": "<restrictionUsageParameterName1",
"units": "units1",
"usageType": "<usageType1>"
},
{
"dataType": "<dataType2>",
"name": "<name2>",
"parameterNames": [
"<parameterName2_2>",
"<parameterName2_2>"
],
"restrictionUsageParameterName": "<restrictionUsageParameterName2",
"units": "units2",
"usageType": "<usageType2>"
}
],
"networkSources": [
{
"elementType": "<elementType1>",
"id": "<id>",
"name": "<name1>",
"sourceType": "<sourceType1>"
},
{
"elementType": "<elementType2>",
"id": <id>,
"name": "<name2>",
"sourceType": "<sourceType2>"
}
],
"state": "<state>"
},
"outputLineType": "<outputLineType>",
"outputSpatialReference": {
"wkid": <wkid>
},
"preserveFirstStop": <true|false>,
"preserveLastStop": <true|false>,
"restrictUTurns": "<restrictUTurns>",
"restrictions": [
"<restriction1>",
"<restriction2>"
],
"snapTolerance": <snapTolerance>,
"snapToleranceUnits": "<snapToleranceUnits>",
"startTime": <startTime>,
"startTimeIsUTC": <true|false>,
"useHierarchy": <true|false>,
"useStartTime": <true|false>,
"useTimeWindows": <true|false>
}
JSON Response Example (Route Layer)
http://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World?token=<yourToken>&f=pjson |
{
"accumulateAttributeNames": [
"Miles",
"Kilometers"
],
"attributeParameterValues": [
{
"attributeName": "Avoid Limited Access Roads",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "Avoid Ferries",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "Avoid Unpaved Roads",
"parameterName": "Restriction Usage",
"value": "Avoid_High"
},
{
"attributeName": "Avoid Private Roads",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "Avoid Toll Roads",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "Driving an Automobile",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving a Bus",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving a Taxi",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Walking",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving a Delivery Vehicle",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving a Truck",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving an Emergency Vehicle",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Through Traffic Prohibited",
"parameterName": "Restriction Usage",
"value": "Avoid_High"
},
{
"attributeName": "Roads Under Construction Prohibited",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Riding a Motorcycle",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Height Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Height Restriction",
"parameterName": "Vehicle Height (meters)",
"value": 0
},
{
"attributeName": "Weight Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Weight Restriction",
"parameterName": "Vehicle Weight (kilograms)",
"value": 0
},
{
"attributeName": "Length Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Length Restriction",
"parameterName": "Vehicle Length (meters)",
"value": 0
},
{
"attributeName": "Width Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Width Restriction",
"parameterName": "Vehicle Width (meters)",
"value": 0
},
{
"attributeName": "Truck with Trailers Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Truck with Trailers Restriction",
"parameterName": "Number of Trailers on Truck",
"value": 0
},
{
"attributeName": "Any Hazmat Prohibited",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Avoid Gates",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "Avoid Express Lanes",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Weight per Axle Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Weight per Axle Restriction",
"parameterName": "Vehicle Weight per Axle (kilograms)",
"value": 0
},
{
"attributeName": "Axle Count Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Axle Count Restriction",
"parameterName": "Number of Axles",
"value": 0
},
{
"attributeName": "Avoid Carpool Roads",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Semi or Tractor with One or More Trailers Prohibited",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Kingpin to Rear Axle Length Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Kingpin to Rear Axle Length Restriction",
"parameterName": "Vehicle Kingpin to Rear Axle Length (meters)",
"value": 0
},
{
"attributeName": "Single Axle Vehicles Prohibited",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Tandem Axle Vehicles Prohibited",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Use Preferred Truck Routes",
"parameterName": "Restriction Usage",
"value": "Prefer_Medium"
},
{
"attributeName": "Use Preferred Hazmat Routes",
"parameterName": "Restriction Usage",
"value": "Prefer_Medium"
}
],
"currentVersion": 10.21,
"directionsLanguage": "en",
"directionsLengthUnits": "esriNAUKilometers",
"directionsStyleNames": [
"NA Desktop",
"NA Navigation",
"NA Campus"
],
"directionsSupportedLanguages": [
"ar",
"de",
"es",
"et",
"fr",
"he",
"it",
"ja",
"ko",
"lt",
"lv",
"nl",
"pl",
"pt-BR",
"pt-PT",
"ru",
"sv",
"zh-CN",
"en"
],
"directionsTimeAttribute": "TravelTime",
"findBestSequence": false,
"hasM": true,
"hasZ": false,
"hierarchyAttributeName": "Hierarchy",
"hierarchyLevelCount": 3,
"hierarchyMaxValues": [
2,
4
],
"hierarchyNumTransitions": [
9,
6
],
"ignoreInvalidLocations": true,
"impedance": "TravelTime",
"layerName": "Route_Oceania",
"layerType": "esriNAServerRouteLayer",
"maxSnapTolerance": 20000,
"networkClasses": [
{
"className": "Stops",
"fields": [
{
"candidateFields": null,
"defaultValue": null,
"fieldName": "Shape"
},
{
"candidateFields": [
"Name",
"Address",
"Label",
"Location",
"Stop",
"WayPoint",
"Description",
"Title",
"DepotName"
],
"defaultValue": null,
"fieldName": "Name"
},
{
"candidateFields": [
"RouteName",
"Route",
"RouteID"
],
"defaultValue": null,
"fieldName": "RouteName"
},
{
"candidateFields": null,
"defaultValue": 1,
"fieldName": "Sequence"
},
{
"candidateFields": [
"TimeWindowStart1",
"TWStart1",
"FromTime1",
"FromTimeWindow1",
"FromTW1",
"From1",
"TimeWindowStart",
"TWStart",
"FromTime",
"FromTimeWindow",
"FromTW",
"From"
],
"defaultValue": null,
"fieldName": "TimeWindowStart"
},
{
"candidateFields": [
"TimeWindowEnd1",
"TWEnd1",
"ToTime1",
"ToTimeWindow1",
"ToTW1",
"To1",
"TimeWindowEnd",
"TWEnd",
"ToTime",
"ToTimeWindow",
"ToTW",
"To"
],
"defaultValue": null,
"fieldName": "TimeWindowEnd"
},
{
"candidateFields": [
"SourceID",
"SID",
"Source"
],
"defaultValue": -1,
"fieldName": "SourceID"
},
{
"candidateFields": [
"SourceOID",
"SOID"
],
"defaultValue": -1,
"fieldName": "SourceOID"
},
{
"candidateFields": [
"PosAlong",
"PA",
"Pos"
],
"defaultValue": 0,
"fieldName": "PosAlong"
},
{
"candidateFields": [
"SideOfEdge",
"SOE"
],
"defaultValue": 2,
"fieldName": "SideOfEdge"
},
{
"candidateFields": [
"CurbApproach",
"SideOfStreet",
"SideApproach",
"CurbSide",
"Curb"
],
"defaultValue": 0,
"fieldName": "CurbApproach"
},
{
"candidateFields": null,
"defaultValue": 0,
"fieldName": "Status"
},
{
"candidateFields": [
"Attr_Minutes",
"Minutes",
"VisitTime",
"StopTime",
"Delay",
"ServiceTime",
"SrvTime",
"StartDepotServiceTime",
"StartSrvTime",
"StartSrv"
],
"defaultValue": 0,
"fieldName": "Attr_Minutes"
},
{
"candidateFields": null,
"defaultValue": 0,
"fieldName": "Attr_TravelTime"
},
{
"candidateFields": [
"Attr_Miles",
"Miles"
],
"defaultValue": 0,
"fieldName": "Attr_Miles"
},
{
"candidateFields": null,
"defaultValue": 0,
"fieldName": "Attr_Kilometers"
}
]
},
{
"className": "Barriers",
"fields": [
{
"candidateFields": null,
"defaultValue": null,
"fieldName": "Shape"
},
{
"candidateFields": [
"Name",
"Address",
"Label",
"Location",
"Barrier",
"Description",
"Title"
],
"defaultValue": null,
"fieldName": "Name"
},
{
"candidateFields": [
"SourceID",
"SID",
"Source"
],
"defaultValue": -1,
"fieldName": "SourceID"
},
{
"candidateFields": [
"SourceOID",
"SOID"
],
"defaultValue": -1,
"fieldName": "SourceOID"
},
{
"candidateFields": [
"PosAlong",
"PA",
"Pos"
],
"defaultValue": 0,
"fieldName": "PosAlong"
},
{
"candidateFields": [
"SideOfEdge",
"SOE"
],
"defaultValue": 2,
"fieldName": "SideOfEdge"
},
{
"candidateFields": [
"CurbApproach",
"SideOfStreet",
"SideApproach",
"CurbSide",
"Curb"
],
"defaultValue": 0,
"fieldName": "CurbApproach"
},
{
"candidateFields": null,
"defaultValue": 0,
"fieldName": "Status"
},
{
"candidateFields": [
"FullEdge",
"IsFullEdge",
"BlockEntire"
],
"defaultValue": 0,
"fieldName": "FullEdge"
},
{
"candidateFields": [
"BarrierType",
"BarType",
"BarrierTyp"
],
"defaultValue": 0,
"fieldName": "BarrierType"
},
{
"candidateFields": [
"Attr_Minutes",
"Minutes",
"VisitTime",
"StopTime",
"Delay",
"ServiceTime",
"SrvTime",
"StartDepotServiceTime",
"StartSrvTime",
"StartSrv"
],
"defaultValue": 0,
"fieldName": "Attr_Minutes"
},
{
"candidateFields": null,
"defaultValue": 0,
"fieldName": "Attr_TravelTime"
},
{
"candidateFields": [
"Attr_Miles",
"Miles"
],
"defaultValue": 0,
"fieldName": "Attr_Miles"
},
{
"candidateFields": null,
"defaultValue": 0,
"fieldName": "Attr_Kilometers"
}
]
},
{
"className": "PolylineBarriers",
"fields": [
{
"candidateFields": null,
"defaultValue": null,
"fieldName": "Shape"
},
{
"candidateFields": [
"Name",
"Label",
"Locations",
"Barrier",
"Description",
"Title"
],
"defaultValue": null,
"fieldName": "Name"
},
{
"candidateFields": [
"Locations",
"LocRanges"
],
"defaultValue": null,
"fieldName": "Locations"
},
{
"candidateFields": [
"BarrierType",
"BarType",
"BarrierTyp"
],
"defaultValue": 0,
"fieldName": "BarrierType"
},
{
"candidateFields": [
"Attr_Minutes",
"Minutes",
"Scaled_Cost",
"Scaled_Time"
],
"defaultValue": 1,
"fieldName": "Attr_Minutes"
},
{
"candidateFields": null,
"defaultValue": 1,
"fieldName": "Attr_TravelTime"
},
{
"candidateFields": [
"Attr_Miles",
"Miles"
],
"defaultValue": 1,
"fieldName": "Attr_Miles"
},
{
"candidateFields": [
"Attr_Kilometers",
"Kilometers"
],
"defaultValue": 1,
"fieldName": "Attr_Kilometers"
}
]
},
{
"className": "PolygonBarriers",
"fields": [
{
"candidateFields": null,
"defaultValue": null,
"fieldName": "Shape"
},
{
"candidateFields": [
"Name",
"Label",
"Locations",
"Barrier",
"Description",
"Title"
],
"defaultValue": null,
"fieldName": "Name"
},
{
"candidateFields": [
"Locations",
"LocRanges"
],
"defaultValue": null,
"fieldName": "Locations"
},
{
"candidateFields": [
"BarrierType",
"BarType",
"BarrierTyp"
],
"defaultValue": 0,
"fieldName": "BarrierType"
},
{
"candidateFields": [
"Attr_Minutes",
"Minutes",
"Scaled_Cost",
"Scaled_Time"
],
"defaultValue": 1,
"fieldName": "Attr_Minutes"
},
{
"candidateFields": null,
"defaultValue": 1,
"fieldName": "Attr_TravelTime"
},
{
"candidateFields": [
"Attr_Miles",
"Miles"
],
"defaultValue": 1,
"fieldName": "Attr_Miles"
},
{
"candidateFields": [
"Attr_Kilometers",
"Kilometers"
],
"defaultValue": 1,
"fieldName": "Attr_Kilometers"
}
]
}
],
"networkDataset": {
"buildTime": 1369405724000,
"name": "Routing_ND",
"networkAttributes": [
{
"dataType": "esriNADTInteger",
"name": "Hierarchy",
"parameterNames": [],
"restrictionUsageParameterName": null,
"units": "esriNAUUnknown",
"usageType": "esriNAUTHierarchy"
},
{
"dataType": "esriNADTDouble",
"name": "Minutes",
"parameterNames": [],
"restrictionUsageParameterName": null,
"units": "esriNAUMinutes",
"usageType": "esriNAUTCost"
},
{
"dataType": "esriNADTInteger",
"name": "RoadClass",
"parameterNames": [],
"restrictionUsageParameterName": null,
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor"
},
{
"dataType": "esriNADTInteger",
"name": "TimeZoneID",
"parameterNames": [],
"restrictionUsageParameterName": null,
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor"
},
{
"dataType": "esriNADTBoolean",
"name": "Avoid Limited Access Roads",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Avoid Ferries",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Avoid Unpaved Roads",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Avoid Private Roads",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Avoid Toll Roads",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Driving an Automobile",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Driving a Bus",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Driving a Taxi",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Walking",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Driving a Delivery Vehicle",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Driving a Truck",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Driving an Emergency Vehicle",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Through Traffic Prohibited",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTDouble",
"name": "TravelTime",
"parameterNames": [],
"restrictionUsageParameterName": null,
"units": "esriNAUMinutes",
"usageType": "esriNAUTCost"
},
{
"dataType": "esriNADTDouble",
"name": "Miles",
"parameterNames": [],
"restrictionUsageParameterName": null,
"units": "esriNAUMiles",
"usageType": "esriNAUTCost"
},
{
"dataType": "esriNADTDouble",
"name": "Kilometers",
"parameterNames": [],
"restrictionUsageParameterName": null,
"units": "esriNAUKilometers",
"usageType": "esriNAUTCost"
},
{
"dataType": "esriNADTBoolean",
"name": "Roads Under Construction Prohibited",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Riding a Motorcycle",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTDouble",
"name": "Height Limit (meters)",
"parameterNames": [],
"restrictionUsageParameterName": null,
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor"
},
{
"dataType": "esriNADTBoolean",
"name": "Height Restriction",
"parameterNames": [
"Restriction Usage",
"Vehicle Height (meters)"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTDouble",
"name": "Weight Limit (kilograms)",
"parameterNames": [],
"restrictionUsageParameterName": null,
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor"
},
{
"dataType": "esriNADTBoolean",
"name": "Weight Restriction",
"parameterNames": [
"Restriction Usage",
"Vehicle Weight (kilograms)"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTDouble",
"name": "Length Limit (meters)",
"parameterNames": [],
"restrictionUsageParameterName": null,
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor"
},
{
"dataType": "esriNADTBoolean",
"name": "Length Restriction",
"parameterNames": [
"Restriction Usage",
"Vehicle Length (meters)"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTDouble",
"name": "Width Limit (meters)",
"parameterNames": [],
"restrictionUsageParameterName": null,
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor"
},
{
"dataType": "esriNADTBoolean",
"name": "Width Restriction",
"parameterNames": [
"Restriction Usage",
"Vehicle Width (meters)"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Truck with Trailers Restriction",
"parameterNames": [
"Restriction Usage",
"Number of Trailers on Truck"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Any Hazmat Prohibited",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Avoid Gates",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTInteger",
"name": "Maximum Number of Trailers Allowed on Truck",
"parameterNames": [],
"restrictionUsageParameterName": null,
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor"
},
{
"dataType": "esriNADTBoolean",
"name": "Avoid Express Lanes",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTDouble",
"name": "Weight Limit per Axle (kilograms)",
"parameterNames": [],
"restrictionUsageParameterName": null,
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor"
},
{
"dataType": "esriNADTBoolean",
"name": "Weight per Axle Restriction",
"parameterNames": [
"Restriction Usage",
"Vehicle Weight per Axle (kilograms)"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTInteger",
"name": "Maximum Number of Axles Allowed",
"parameterNames": [],
"restrictionUsageParameterName": null,
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor"
},
{
"dataType": "esriNADTBoolean",
"name": "Axle Count Restriction",
"parameterNames": [
"Restriction Usage",
"Number of Axles"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Avoid Carpool Roads",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Semi or Tractor with One or More Trailers Prohibited",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTDouble",
"name": "Kingpin to Rear Axle Length Limit (meters)",
"parameterNames": [],
"restrictionUsageParameterName": null,
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor"
},
{
"dataType": "esriNADTBoolean",
"name": "Kingpin to Rear Axle Length Restriction",
"parameterNames": [
"Restriction Usage",
"Vehicle Kingpin to Rear Axle Length (meters)"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Single Axle Vehicles Prohibited",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Tandem Axle Vehicles Prohibited",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Use Preferred Truck Routes",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
},
{
"dataType": "esriNADTBoolean",
"name": "Use Preferred Hazmat Routes",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction"
}
],
"networkSources": [
{
"elementType": "esriNETEdge",
"id": 1,
"name": "Routing_Streets",
"sourceType": "esriNSTEdgeFeature"
},
{
"elementType": "esriNETJunction",
"id": 4,
"name": "Routing_Streets_Override",
"sourceType": "esriNSTJunctionFeature"
},
{
"elementType": "esriNETJunction",
"id": 3,
"name": "Routing_ND_Junctions",
"sourceType": "esriNSTSystemJunction"
},
{
"elementType": "esriNETTurn",
"id": 2,
"name": "RestrictedTurns",
"sourceType": "esriNSTTurnFeature"
}
],
"state": "esriNDSBuilt"
},
"outputLineType": "esriNAOutputLineTrueShape",
"outputSpatialReference": {
"wkid": 4326
},
"preserveFirstStop": true,
"preserveLastStop": true,
"restrictUTurns": "esriNFSBAtDeadEndsAndIntersections",
"restrictions": [
"Avoid Unpaved Roads",
"Avoid Private Roads",
"Driving an Automobile",
"Through Traffic Prohibited",
"Roads Under Construction Prohibited",
"Avoid Gates",
"Avoid Express Lanes",
"Avoid Carpool Roads"
],
"snapTolerance": 0,
"snapToleranceUnits": "esriMeters",
"startTime": null,
"startTimeIsUTC": false,
"useHierarchy": true,
"useStartTime": false,
"useTimeWindows": false
}
JSON Response Syntax (Service Area Layer)
{
"currentVersion": <currentVersion>,
"layerName": "<layerName>",
"layerType": "esriNAServerServiceAreaLayer",
"impedance": "<impedance>",
"restrictions": [
"<restriction1>",
"<restriction2>"
],
"snapTolerance": <snapTolerance>,
"maxSnapTolerance": <maxSnapTolerance>,
"snapToleranceUnits": "<snapToleranceUnits>",
"ignoreInvalidLocations": <true|false>,
"restrictUTurns": "<restrictUTurns>",
"accumulateAttributeNames": [
"<accumulateAttribute1>",
"<accumulateAttribute2>"
],
"attributeParameterValues": [
{
"attributeName": "<attributeName1>",
"parameterName": "<parameterName1>",
"value": "<value1>"
},
{
"attributeName": "<attributeName2>",
"parameterName": ">parameterName2>",
"value": "<value2>"
}
],
"outputSpatialReference": {
"wkid": <wkid>
},
"useHierarchy": <true|false>,
"hierarchyAttributeName": "<hierarchyAttributeName>",
"hierarchyLevelCount": <hierarchyLevelCount>,
"hierarchyMaxValues": [
<hierarchyMaxValue1>,
<hierarchyMaxValue2>
],
"networkClasses": [
{
"className": "<className1>",
"fields": [
{
"fieldName": "<name1_1>",
"defaultValue": "<value1_1>",
"candidateFields": [
"<cf1_1_1>",
"<cf1_1_2>"
]
},
{
"fieldName": "<name1_2>",
"defaultValue": "<value1_2>",
"candidateFields": [
"<cf1_2_1>",
"<cf1_2_2>"
]
}
]
},
{
"className": "<className2>",
"fields": [
{
"fieldName": "<name2_1>",
"defaultValue": "<value2_1>",
"candidateFields": [
"<cf2_1_1>",
"<cf2_1_2>"
]
},
{
"fieldName": "<name2_2>",
"defaultValue": "<value2_2>",
"candidateFields": [
"<cf2_2_1>",
"<cf2_2_2>"
]
}
]
}
],
{
"name": "<name>",
"buildTime": <buildTime>,
"state": "<state>""networkAttributes": [
{
"dataType": "<dataType1>",
"name": "<name1>",
"parameterNames": [
"<parameterName1_2>",
"<parameterName1_2>"
],
"restrictionUsageParameterName": "<restrictionUsageParameterName1",
"units": "units1",
"usageType": "<usageType1>"
},
{
"dataType": "<dataType2>",
"name": "<name2>",
"parameterNames": [
"<parameterName2_2>",
"<parameterName2_2>"
],
"restrictionUsageParameterName": "<restrictionUsageParameterName2",
"units": "units2",
"usageType": "<usageType2>"
}
],
"networkSources": [
{
"elementType": "<elementType1>",
"id": "<id>",
"name": "<name1>",
"sourceType": "<sourceType1>"
},
{
"elementType": "<elementType2>",
"id": <id>,
"name": "<name2>",
"sourceType": "<sourceType2>"
}
],
},
"hasM": <true|false>,
"hasZ": <true|false>,
"splitPolygonsAtBreaks": <true|false>,
"mergeSimilarPolygonRanges": <true|false>,
"excludeSourcesFromPolygons": [
"<excludedSource1>",
"<excludedSource2>"
],
"splitLinesAtBreaks": <true|false>,
"overlapLines": <true|false>,
"outputPolygons": "<esriNAOutputPolygonType>",
"outputLines": "<esriNAOutputLineType>",
"includeSourceInformationOnLines": <true|false>,
"overlapPolygons": <true|false>,
"trimOuterPolygon": <true|false>,
"trimPolygonDistance": <trimPolygonDistance>,
"trimPolygonDistanceUnits": "<esriUnits>",
"travelDirection": "<esriNATravelDirection>",
"timeOfDay": <timeOfDay>,
"timeOfDayIsUTC": <true|false>,
"timeOfDayUsage": "<esriNATimeOfDayUsage>"
}
JSON Response Example (Service Area Layer)
{
"currentVersion": 10.21,
"layerName": "ServiceArea",
"layerType": "esriNAServerServiceAreaLayer",
"impedance": "TravelTime",
"restrictions": [
"Oneway",
"Divider Restriction",
"Driving an Automobile",
"Through Traffic Prohibited",
"Avoid Unpaved Roads",
"Avoid Private Roads",
"Avoid Gates"
],
"snapTolerance": 0,
"maxSnapTolerance": 5000,
"snapToleranceUnits": "esriMeters",
"ignoreInvalidLocations": true,
"restrictUTurns": "esriNFSBAllowBacktrack",
"accumulateAttributeNames": [],
"attributeParameterValues": [
{
"attributeName": "Oneway",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Divider Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving an Automobile",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving a Bus",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving a Taxi",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Walking",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving a Truck",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving a Delivery Vehicle",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving an Emergency Vehicle",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Through Traffic Prohibited",
"parameterName": "Restriction Usage",
"value": "Avoid_High"
},
{
"attributeName": "Avoid Unpaved Roads",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "Avoid Toll Roads",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "Avoid Limited Access Roads",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "Avoid Ferries",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "Avoid Private Roads",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "Avoid Gates",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "National STAA Preferred Route",
"parameterName": "Restriction Usage",
"value": "Prefer_Medium"
},
{
"attributeName": "National STAA and Locally Preferred Routes",
"parameterName": "Restriction Usage",
"value": "Prefer_Medium"
},
{
"attributeName": "HazMat: Explosives Preferred Route",
"parameterName": "Restriction Usage",
"value": "Prefer_Medium"
},
{
"attributeName": "HazMat: Poisonous Inhalation Hazard Preferred Route",
"parameterName": "Restriction Usage",
"value": "Prefer_Medium"
},
{
"attributeName": "HazMat: Radioactive Materials Preferred Route",
"parameterName": "Restriction Usage",
"value": "Prefer_Medium"
},
{
"attributeName": "HazMat: Explosives Restricted",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "HazMat: Flammable Goods Restricted",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "HazMat: Corrosive Goods Restricted",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Height Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Height Restriction",
"parameterName": "Vehicle Height (feet)",
"value": 0
},
{
"attributeName": "Weight Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Weight Restriction",
"parameterName": "Vehicle Weight (tons)",
"value": 0
},
{
"attributeName": "Length Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Length Restriction",
"parameterName": "Vehicle Length (feet)",
"value": 0
}
],
"outputSpatialReference": {
"wkid": 4326
},
"useHierarchy": true,
"hierarchyAttributeName": "Hierarchy",
"hierarchyLevelCount": 3,
"hierarchyMaxValues": [
2,
4
],
"hierarchyNumTransitions": [
9,
6
],
"networkClasses": [
{
"className": "Facilities",
"fields": [
{
"fieldName": "Shape",
"defaultValue": null,
"candidateFields": null
},
{
"fieldName": "Name",
"defaultValue": null,
"candidateFields": [
"Name",
"Address",
"Label",
"Location",
"Facility",
"WayPoint",
"Description",
"Title",
"DepotName"
]
},
{
"fieldName": "SourceID",
"defaultValue": -1,
"candidateFields": [
"SourceID",
"SID",
"Source"
]
},
{
"fieldName": "SourceOID",
"defaultValue": -1,
"candidateFields": [
"SourceOID",
"SOID"
]
},
{
"fieldName": "PosAlong",
"defaultValue": 0,
"candidateFields": [
"PosAlong",
"PA",
"Pos"
]
},
{
"fieldName": "SideOfEdge",
"defaultValue": 2,
"candidateFields": [
"SideOfEdge",
"SOE"
]
},
{
"fieldName": "CurbApproach",
"defaultValue": 0,
"candidateFields": [
"CurbApproach",
"SideOfStreet",
"SideApproach",
"CurbSide",
"Curb"
]
},
{
"fieldName": "Status",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Attr_Minutes",
"defaultValue": 0,
"candidateFields": [
"Attr_Minutes",
"Minutes",
"Delay",
"ServiceTime",
"SrvTime",
"StartDepotServiceTime",
"StartSrvTime",
"StartSrv"
]
},
{
"fieldName": "Attr_Meters",
"defaultValue": 0,
"candidateFields": [
"Attr_Meters",
"Meters"
]
},
{
"fieldName": "Attr_WeekdayFallbackTravelTime",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Attr_WeekendFallbackTravelTime",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Attr_TravelTime",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Breaks_Minutes",
"defaultValue": null,
"candidateFields": [
"Breaks_Minutes",
"Breaks"
]
},
{
"fieldName": "Breaks_Meters",
"defaultValue": null,
"candidateFields": [
"Breaks_Meters",
"Breaks"
]
},
{
"fieldName": "Breaks_WeekdayFallbackTravelTime",
"defaultValue": null,
"candidateFields": null
},
{
"fieldName": "Breaks_WeekendFallbackTravelTime",
"defaultValue": null,
"candidateFields": null
},
{
"fieldName": "Breaks_TravelTime",
"defaultValue": null,
"candidateFields": null
}
]
},
{
"className": "Barriers",
"fields": [
{
"fieldName": "Shape",
"defaultValue": null,
"candidateFields": null
},
{
"fieldName": "Name",
"defaultValue": null,
"candidateFields": [
"Name",
"Address",
"Label",
"Location",
"Barrier",
"Description",
"Title"
]
},
{
"fieldName": "SourceID",
"defaultValue": -1,
"candidateFields": [
"SourceID",
"SID",
"Source"
]
},
{
"fieldName": "SourceOID",
"defaultValue": -1,
"candidateFields": [
"SourceOID",
"SOID"
]
},
{
"fieldName": "PosAlong",
"defaultValue": 0,
"candidateFields": [
"PosAlong",
"PA",
"Pos"
]
},
{
"fieldName": "SideOfEdge",
"defaultValue": 2,
"candidateFields": [
"SideOfEdge",
"SOE"
]
},
{
"fieldName": "CurbApproach",
"defaultValue": 0,
"candidateFields": [
"CurbApproach",
"SideOfStreet",
"SideApproach",
"CurbSide",
"Curb"
]
},
{
"fieldName": "Status",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "FullEdge",
"defaultValue": 0,
"candidateFields": [
"FullEdge",
"IsFullEdge",
"BlockEntire"
]
},
{
"fieldName": "BarrierType",
"defaultValue": 0,
"candidateFields": [
"BarrierType",
"BarType",
"BarrierTyp"
]
},
{
"fieldName": "Attr_Minutes",
"defaultValue": 0,
"candidateFields": [
"Attr_Minutes",
"Minutes",
"VisitTime",
"StopTime",
"Delay",
"ServiceTime",
"SrvTime",
"StartDepotServiceTime",
"StartSrvTime",
"StartSrv"
]
},
{
"fieldName": "Attr_Meters",
"defaultValue": 0,
"candidateFields": [
"Attr_Meters",
"Meters"
]
},
{
"fieldName": "Attr_WeekdayFallbackTravelTime",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Attr_WeekendFallbackTravelTime",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Attr_TravelTime",
"defaultValue": 0,
"candidateFields": null
}
]
},
{
"className": "PolylineBarriers",
"fields": [
{
"fieldName": "Shape",
"defaultValue": null,
"candidateFields": null
},
{
"fieldName": "Name",
"defaultValue": null,
"candidateFields": [
"Name",
"Label",
"Locations",
"Barrier",
"Description",
"Title"
]
},
{
"fieldName": "Locations",
"defaultValue": null,
"candidateFields": [
"Locations",
"LocRanges"
]
},
{
"fieldName": "BarrierType",
"defaultValue": 0,
"candidateFields": [
"BarrierType",
"BarType",
"BarrierTyp"
]
},
{
"fieldName": "Attr_Minutes",
"defaultValue": 1,
"candidateFields": [
"Attr_Minutes",
"Minutes",
"Scaled_Cost",
"Scaled_Time"
]
},
{
"fieldName": "Attr_Meters",
"defaultValue": 1,
"candidateFields": [
"Attr_Meters",
"Meters"
]
},
{
"fieldName": "Attr_WeekdayFallbackTravelTime",
"defaultValue": 1,
"candidateFields": null
},
{
"fieldName": "Attr_WeekendFallbackTravelTime",
"defaultValue": 1,
"candidateFields": null
},
{
"fieldName": "Attr_TravelTime",
"defaultValue": 1,
"candidateFields": null
}
]
},
{
"className": "PolygonBarriers",
"fields": [
{
"fieldName": "Shape",
"defaultValue": null,
"candidateFields": null
},
{
"fieldName": "Name",
"defaultValue": null,
"candidateFields": [
"Name",
"Label",
"Locations",
"Barrier",
"Description",
"Title"
]
},
{
"fieldName": "Locations",
"defaultValue": null,
"candidateFields": [
"Locations",
"LocRanges"
]
},
{
"fieldName": "BarrierType",
"defaultValue": 0,
"candidateFields": [
"BarrierType",
"BarType",
"BarrierTyp"
]
},
{
"fieldName": "Attr_Minutes",
"defaultValue": 1,
"candidateFields": [
"Attr_Minutes",
"Minutes",
"Scaled_Cost",
"Scaled_Time"
]
},
{
"fieldName": "Attr_Meters",
"defaultValue": 1,
"candidateFields": [
"Attr_Meters",
"Meters"
]
},
{
"fieldName": "Attr_WeekdayFallbackTravelTime",
"defaultValue": 1,
"candidateFields": null
},
{
"fieldName": "Attr_WeekendFallbackTravelTime",
"defaultValue": 1,
"candidateFields": null
},
{
"fieldName": "Attr_TravelTime",
"defaultValue": 1,
"candidateFields": null
}
]
}
],
"networkDataset": {
"name": "Streets_ND",
"buildTime": 1328506321000,
"state": "esriNDSBuilt",
"networkAttributes": [
{
"name": "Oneway",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Hierarchy",
"dataType": "esriNADTInteger",
"units": "esriNAUUnknown",
"usageType": "esriNAUTHierarchy",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "Minutes",
"dataType": "esriNADTDouble",
"units": "esriNAUMinutes",
"usageType": "esriNAUTCost",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "Meters",
"dataType": "esriNADTDouble",
"units": "esriNAUMeters",
"usageType": "esriNAUTCost",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "RoadClass",
"dataType": "esriNADTInteger",
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "WeekdayFallbackTravelTime",
"dataType": "esriNADTDouble",
"units": "esriNAUMinutes",
"usageType": "esriNAUTCost",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "WeekendFallbackTravelTime",
"dataType": "esriNADTDouble",
"units": "esriNAUMinutes",
"usageType": "esriNAUTCost",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "TravelTime",
"dataType": "esriNADTDouble",
"units": "esriNAUMinutes",
"usageType": "esriNAUTCost",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "Divider Restriction",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Driving an Automobile",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Driving a Bus",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Driving a Taxi",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Walking",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Driving a Truck",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Driving a Delivery Vehicle",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Driving an Emergency Vehicle",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Through Traffic Prohibited",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Avoid Unpaved Roads",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Avoid Toll Roads",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Avoid Limited Access Roads",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Avoid Ferries",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Avoid Private Roads",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Avoid Gates",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "TimeZone",
"dataType": "esriNADTInteger",
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "National STAA Preferred Route",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "National STAA and Locally Preferred Routes",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "HazMat: Explosives Preferred Route",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "HazMat: Poisonous Inhalation Hazard Preferred Route",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "HazMat: Radioactive Materials Preferred Route",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "HazMat: Explosives Restricted",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "HazMat: Flammable Goods Restricted",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "HazMat: Corrosive Goods Restricted",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Height Limit (feet)",
"dataType": "esriNADTDouble",
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "Height Restriction",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage",
"Vehicle Height (feet)"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Weight Limit (tons)",
"dataType": "esriNADTDouble",
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "Weight Restriction",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage",
"Vehicle Weight (tons)"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Length Limit (feet)",
"dataType": "esriNADTDouble",
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "Length Restriction",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage",
"Vehicle Length (feet)"
],
"restrictionUsageParameterName": "Restriction Usage"
}
],
"networkSources": [
{
"name": "Streets",
"elementType": "esriNETEdge",
"sourceType": "esriNSTEdgeFeature",
"id": 1
},
{
"name": "Streets_ND_Junctions",
"elementType": "esriNETJunction",
"sourceType": "esriNSTSystemJunction",
"id": 4
},
{
"name": "Dividers",
"elementType": "esriNETTurn",
"sourceType": "esriNSTTurnFeature",
"id": 2
},
{
"name": "RestrictedTurns",
"elementType": "esriNETTurn",
"sourceType": "esriNSTTurnFeature",
"id": 3
}
]
},
"hasM": true,
"hasZ": false,
"defaultBreaks": [
5
],
"splitPolygonsAtBreaks": true,
"mergeSimilarPolygonRanges": false,
"excludeSourcesFromPolygons": [],
"splitLinesAtBreaks": false,
"overlapLines": true,
"outputPolygons": "esriNAOutputPolygonSimplified",
"outputLines": "esriNAOutputLineNone",
"includeSourceInformationOnLines": false,
"overlapPolygons": true,
"trimOuterPolygon": true,
"trimPolygonDistance": 100,
"trimPolygonDistanceUnits": "esriMeters",
"travelDirection": "esriNATravelDirectionFromFacility",
"timeOfDay": null,
"timeOfDayIsUTC": false,
"timeOfDayUsage": "esriNATimeOfDayNotUsed"
}
JSON Response Syntax (Closest Facility Layer)
{
"currentVersion": <currentVersion>,
"layerName": "<layerName>",
"layerType": "esriNAServerClosestFacilityLayer",
"impedance": "<impedance>",
"restrictions": [
"<restriction1>",
"<restriction2>"
],
"snapTolerance": <snapTolerance>,
"maxSnapTolerance": <maxSnapTolerance>,
"snapToleranceUnits": "<snapToleranceUnits>",
"ignoreInvalidLocations": <true|false>,
"restrictUTurns": "<restrictUTurns>",
"accumulateAttributeNames": [
"<accumulateAttribute1>",
"<accumulateAttribute2>"
],
"attributeParameterValues": [
{
"attributeName": "<attributeName1>",
"parameterName": "<parameterName1>",
"value": "<value1>"
},
{
"attributeName": "<attributeName2>",
"parameterName": ">parameterName2>",
"value": "<value2>"
}
],
"outputSpatialReference": {
"wkid": <wkid>
},
"useHierarchy": <true|false>,
"hierarchyAttributeName": "<hierarchyAttributeName>",
"hierarchyLevelCount": <hierarchyLevelCount>,
"hierarchyMaxValues": [
<hierarchyMaxValue1>,
<hierarchyMaxValue2>
],
"hierarchyNumTransitions": [
<hierarchyNumTransitions1>,
<hierarchyNumTransitions2>
],
"networkClasses": [
{
"className": "<className1>",
"fields": [
{
"fieldName": "<name1_1>",
"defaultValue": "<value1_1>",
"candidateFields": [
"<cf1_1_1>",
"<cf1_1_2>"
]
},
{
"fieldName": "<name1_2>",
"defaultValue": "<value1_2>",
"candidateFields": [
"<cf1_2_1>",
"<cf1_2_2>"
]
}
]
},
{
"className": "<className2>",
"fields": [
{
"fieldName": "<name2_1>",
"defaultValue": "<value2_1>",
"candidateFields": [
"<cf2_1_1>",
"<cf2_1_2>"
]
},
{
"fieldName": "<name2_2>",
"defaultValue": "<value2_2>",
"candidateFields": [
"<cf2_2_1>",
"<cf2_2_2>"
]
}
]
}
],
"networkDataset": {
"name": "<name>",
"buildTime": <buildTime>,
"state": "<state>""networkAttributes": [
{
"dataType": "<dataType1>",
"name": "<name1>",
"parameterNames": [
"<parameterName1_2>",
"<parameterName1_2>"
],
"restrictionUsageParameterName": "<restrictionUsageParameterName1",
"units": "units1",
"usageType": "<usageType1>"
},
{
"dataType": "<dataType2>",
"name": "<name2>",
"parameterNames": [
"<parameterName2_2>",
"<parameterName2_2>"
],
"restrictionUsageParameterName": "<restrictionUsageParameterName2",
"units": "units2",
"usageType": "<usageType2>"
}
],
"networkSources": [
{
"elementType": "<elementType1>",
"id": "<id>",
"name": "<name1>",
"sourceType": "<sourceType1>"
},
{
"elementType": "<elementType2>",
"id": <id>,
"name": "<name2>",
"sourceType": "<sourceType2>"
}
],
},
"hasM": <true|false>,
"hasZ": <true|false>,
"defaultCutoffValue": <defaultCutoffValue>,
"facilityCount": <facilityCount>,
"travelDirection": "<esriNATravelDirection>",
"outputLineType": "<outputLineType>",
"directionsLanguage": "<languageCode>",
"directionsSupportedLanguages": [
"<languageCode1>",
"<languageCode2>"
],
"directionsStyleNames": [
"<directionsStyleName1>",
"<directionsStyleName2>"
],
"directionsLengthUnits": "<esriNAUnits>",
"directionsTimeAttribute": "<directionsTimeAttribute>",
"timeOfDay": <timeOfDay>,
"timeOfDayIsUTC": <true|false>,
"timeOfDayUsage": "<esriNATimeOfDayUsage>"
}
JSON Response Example (Closest Facility Layer)
{
"currentVersion": 10.21,
"layerName": "ClosestFacility",
"layerType": "esriNAServerClosestFacilityLayer",
"impedance": "TravelTime",
"restrictions": [
"Avoid Gates",
"Avoid Private Roads",
"Avoid Unpaved Roads",
"Divider Restriction",
"Driving an Automobile",
"Oneway",
"Through Traffic Prohibited"
],
"snapTolerance": 0,
"maxSnapTolerance": 5000,
"snapToleranceUnits": "esriMeters",
"ignoreInvalidLocations": true,
"restrictUTurns": "esriNFSBAllowBacktrack",
"accumulateAttributeNames": [],
"attributeParameterValues": [
{
"attributeName": "Oneway",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Divider Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving an Automobile",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving a Bus",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving a Taxi",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Walking",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving a Truck",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving a Delivery Vehicle",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Driving an Emergency Vehicle",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Through Traffic Prohibited",
"parameterName": "Restriction Usage",
"value": "Avoid_High"
},
{
"attributeName": "Avoid Unpaved Roads",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "Avoid Toll Roads",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "Avoid Limited Access Roads",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "Avoid Ferries",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "Avoid Private Roads",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "Avoid Gates",
"parameterName": "Restriction Usage",
"value": "Avoid_Medium"
},
{
"attributeName": "National STAA Preferred Route",
"parameterName": "Restriction Usage",
"value": "Prefer_Medium"
},
{
"attributeName": "National STAA and Locally Preferred Routes",
"parameterName": "Restriction Usage",
"value": "Prefer_Medium"
},
{
"attributeName": "HazMat: Explosives Preferred Route",
"parameterName": "Restriction Usage",
"value": "Prefer_Medium"
},
{
"attributeName": "HazMat: Poisonous Inhalation Hazard Preferred Route",
"parameterName": "Restriction Usage",
"value": "Prefer_Medium"
},
{
"attributeName": "HazMat: Radioactive Materials Preferred Route",
"parameterName": "Restriction Usage",
"value": "Prefer_Medium"
},
{
"attributeName": "HazMat: Explosives Restricted",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "HazMat: Flammable Goods Restricted",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "HazMat: Corrosive Goods Restricted",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Height Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Height Restriction",
"parameterName": "Vehicle Height (feet)",
"value": 0
},
{
"attributeName": "Weight Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Weight Restriction",
"parameterName": "Vehicle Weight (tons)",
"value": 0
},
{
"attributeName": "Length Restriction",
"parameterName": "Restriction Usage",
"value": "Prohibited"
},
{
"attributeName": "Length Restriction",
"parameterName": "Vehicle Length (feet)",
"value": 0
}
],
"outputSpatialReference": {
"wkid": 4326
},
"useHierarchy": true,
"hierarchyAttributeName": "Hierarchy",
"hierarchyLevelCount": 3,
"hierarchyMaxValues": [
2,
4
],
"hierarchyNumTransitions": [
9,
6
],
"networkClasses": [
{
"className": "Facilities",
"fields": [
{
"fieldName": "Shape",
"defaultValue": null,
"candidateFields": null
},
{
"fieldName": "Name",
"defaultValue": null,
"candidateFields": [
"Name",
"Address",
"Label",
"Location",
"Facility",
"Origin",
"Destination",
"WayPoint",
"Description",
"Title",
"DepotName"
]
},
{
"fieldName": "SourceID",
"defaultValue": -1,
"candidateFields": [
"SourceID",
"SID",
"Source"
]
},
{
"fieldName": "SourceOID",
"defaultValue": -1,
"candidateFields": [
"SourceOID",
"SOID"
]
},
{
"fieldName": "PosAlong",
"defaultValue": 0,
"candidateFields": [
"PosAlong",
"PA",
"Pos"
]
},
{
"fieldName": "SideOfEdge",
"defaultValue": 2,
"candidateFields": [
"SideOfEdge",
"SOE"
]
},
{
"fieldName": "CurbApproach",
"defaultValue": 0,
"candidateFields": [
"CurbApproach",
"SideOfStreet",
"SideApproach",
"CurbSide",
"Curb"
]
},
{
"fieldName": "Status",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Attr_Minutes",
"defaultValue": 0,
"candidateFields": [
"Attr_Minutes",
"Minutes",
"Delay",
"ServiceTime",
"SrvTime",
"StartDepotServiceTime",
"StartSrvTime",
"StartSrv"
]
},
{
"fieldName": "Attr_Meters",
"defaultValue": 0,
"candidateFields": [
"Attr_Meters",
"Meters"
]
},
{
"fieldName": "Attr_WeekdayFallbackTravelTime",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Attr_WeekendFallbackTravelTime",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Attr_TravelTime",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Cutoff_Minutes",
"defaultValue": null,
"candidateFields": [
"Cutoff_Minutes",
"Cut_Mins"
]
},
{
"fieldName": "Cutoff_Meters",
"defaultValue": null,
"candidateFields": [
"Cutoff_Meters",
"Cut_Meters"
]
},
{
"fieldName": "Cutoff_WeekdayFallbackTravelTime",
"defaultValue": null,
"candidateFields": null
},
{
"fieldName": "Cutoff_WeekendFallbackTravelTime",
"defaultValue": null,
"candidateFields": null
},
{
"fieldName": "Cutoff_TravelTime",
"defaultValue": null,
"candidateFields": null
}
]
},
{
"className": "Incidents",
"fields": [
{
"fieldName": "Shape",
"defaultValue": null,
"candidateFields": null
},
{
"fieldName": "Name",
"defaultValue": null,
"candidateFields": [
"Name",
"Address",
"Label",
"Location",
"Incident",
"Origin",
"Destination",
"Description",
"Title",
"DepotName"
]
},
{
"fieldName": "TargetFacilityCount",
"defaultValue": null,
"candidateFields": [
"MaxFacilities",
"Cutoff",
"FacilityCount",
"TargetFacilityCount",
"MaxFacilityCount",
"FacilityCutoff"
]
},
{
"fieldName": "SourceID",
"defaultValue": -1,
"candidateFields": [
"SourceID",
"SID",
"Source"
]
},
{
"fieldName": "SourceOID",
"defaultValue": -1,
"candidateFields": [
"SourceOID",
"SOID"
]
},
{
"fieldName": "PosAlong",
"defaultValue": 0,
"candidateFields": [
"PosAlong",
"PA",
"Pos"
]
},
{
"fieldName": "SideOfEdge",
"defaultValue": 2,
"candidateFields": [
"SideOfEdge",
"SOE"
]
},
{
"fieldName": "CurbApproach",
"defaultValue": 0,
"candidateFields": [
"CurbApproach",
"SideOfStreet",
"SideApproach",
"CurbSide",
"Curb"
]
},
{
"fieldName": "Status",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Attr_Minutes",
"defaultValue": 0,
"candidateFields": [
"Attr_Minutes",
"Minutes",
"Delay",
"ServiceTime",
"SrvTime",
"StartDepotServiceTime",
"StartSrvTime",
"StartSrv"
]
},
{
"fieldName": "Attr_Meters",
"defaultValue": 0,
"candidateFields": [
"Attr_Meters",
"Meters"
]
},
{
"fieldName": "Attr_WeekdayFallbackTravelTime",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Attr_WeekendFallbackTravelTime",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Attr_TravelTime",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Cutoff_Minutes",
"defaultValue": null,
"candidateFields": [
"Cutoff_Minutes",
"Cut_Mins"
]
},
{
"fieldName": "Cutoff_Meters",
"defaultValue": null,
"candidateFields": [
"Cutoff_Meters",
"Cut_Meters"
]
},
{
"fieldName": "Cutoff_WeekdayFallbackTravelTime",
"defaultValue": null,
"candidateFields": null
},
{
"fieldName": "Cutoff_WeekendFallbackTravelTime",
"defaultValue": null,
"candidateFields": null
},
{
"fieldName": "Cutoff_TravelTime",
"defaultValue": null,
"candidateFields": null
}
]
},
{
"className": "Barriers",
"fields": [
{
"fieldName": "Shape",
"defaultValue": null,
"candidateFields": null
},
{
"fieldName": "Name",
"defaultValue": null,
"candidateFields": [
"Name",
"Address",
"Label",
"Location",
"Barrier",
"Description",
"Title"
]
},
{
"fieldName": "SourceID",
"defaultValue": -1,
"candidateFields": [
"SourceID",
"SID",
"Source"
]
},
{
"fieldName": "SourceOID",
"defaultValue": -1,
"candidateFields": [
"SourceOID",
"SOID"
]
},
{
"fieldName": "PosAlong",
"defaultValue": 0,
"candidateFields": [
"PosAlong",
"PA",
"Pos"
]
},
{
"fieldName": "SideOfEdge",
"defaultValue": 2,
"candidateFields": [
"SideOfEdge",
"SOE"
]
},
{
"fieldName": "CurbApproach",
"defaultValue": 0,
"candidateFields": [
"CurbApproach",
"SideOfStreet",
"SideApproach",
"CurbSide",
"Curb"
]
},
{
"fieldName": "Status",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "FullEdge",
"defaultValue": 0,
"candidateFields": [
"FullEdge",
"IsFullEdge",
"BlockEntire"
]
},
{
"fieldName": "BarrierType",
"defaultValue": 0,
"candidateFields": [
"BarrierType",
"BarType",
"BarrierTyp"
]
},
{
"fieldName": "Attr_Minutes",
"defaultValue": 0,
"candidateFields": [
"Attr_Minutes",
"Minutes",
"VisitTime",
"StopTime",
"Delay",
"ServiceTime",
"SrvTime",
"StartDepotServiceTime",
"StartSrvTime",
"StartSrv"
]
},
{
"fieldName": "Attr_Meters",
"defaultValue": 0,
"candidateFields": [
"Attr_Meters",
"Meters"
]
},
{
"fieldName": "Attr_WeekdayFallbackTravelTime",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Attr_WeekendFallbackTravelTime",
"defaultValue": 0,
"candidateFields": null
},
{
"fieldName": "Attr_TravelTime",
"defaultValue": 0,
"candidateFields": null
}
]
},
{
"className": "PolylineBarriers",
"fields": [
{
"fieldName": "Shape",
"defaultValue": null,
"candidateFields": null
},
{
"fieldName": "Name",
"defaultValue": null,
"candidateFields": [
"Name",
"Label",
"Locations",
"Barrier",
"Description",
"Title"
]
},
{
"fieldName": "Locations",
"defaultValue": null,
"candidateFields": [
"Locations",
"LocRanges"
]
},
{
"fieldName": "BarrierType",
"defaultValue": 0,
"candidateFields": [
"BarrierType",
"BarType",
"BarrierTyp"
]
},
{
"fieldName": "Attr_Minutes",
"defaultValue": 1,
"candidateFields": [
"Attr_Minutes",
"Minutes",
"Scaled_Cost",
"Scaled_Time"
]
},
{
"fieldName": "Attr_Meters",
"defaultValue": 1,
"candidateFields": [
"Attr_Meters",
"Meters"
]
},
{
"fieldName": "Attr_WeekdayFallbackTravelTime",
"defaultValue": 1,
"candidateFields": null
},
{
"fieldName": "Attr_WeekendFallbackTravelTime",
"defaultValue": 1,
"candidateFields": null
},
{
"fieldName": "Attr_TravelTime",
"defaultValue": 1,
"candidateFields": null
}
]
},
{
"className": "PolygonBarriers",
"fields": [
{
"fieldName": "Shape",
"defaultValue": null,
"candidateFields": null
},
{
"fieldName": "Name",
"defaultValue": null,
"candidateFields": [
"Name",
"Label",
"Locations",
"Barrier",
"Description",
"Title"
]
},
{
"fieldName": "Locations",
"defaultValue": null,
"candidateFields": [
"Locations",
"LocRanges"
]
},
{
"fieldName": "BarrierType",
"defaultValue": 0,
"candidateFields": [
"BarrierType",
"BarType",
"BarrierTyp"
]
},
{
"fieldName": "Attr_Minutes",
"defaultValue": 1,
"candidateFields": [
"Attr_Minutes",
"Scaled_Cost",
"Scaled_Time"
]
},
{
"fieldName": "Attr_Meters",
"defaultValue": 1,
"candidateFields": [
"Attr_Meters",
"Meters"
]
},
{
"fieldName": "Attr_WeekdayFallbackTravelTime",
"defaultValue": 1,
"candidateFields": null
},
{
"fieldName": "Attr_WeekendFallbackTravelTime",
"defaultValue": 1,
"candidateFields": null
},
{
"fieldName": "Attr_TravelTime",
"defaultValue": 1,
"candidateFields": null
}
]
}
],
"networkDataset": {
"name": "Streets_ND",
"buildTime": 1328506321000,
"state": "esriNDSBuilt",
"networkAttributes": [
{
"name": "Oneway",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Hierarchy",
"dataType": "esriNADTInteger",
"units": "esriNAUUnknown",
"usageType": "esriNAUTHierarchy",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "Minutes",
"dataType": "esriNADTDouble",
"units": "esriNAUMinutes",
"usageType": "esriNAUTCost",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "Meters",
"dataType": "esriNADTDouble",
"units": "esriNAUMeters",
"usageType": "esriNAUTCost",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "RoadClass",
"dataType": "esriNADTInteger",
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "WeekdayFallbackTravelTime",
"dataType": "esriNADTDouble",
"units": "esriNAUMinutes",
"usageType": "esriNAUTCost",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "WeekendFallbackTravelTime",
"dataType": "esriNADTDouble",
"units": "esriNAUMinutes",
"usageType": "esriNAUTCost",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "TravelTime",
"dataType": "esriNADTDouble",
"units": "esriNAUMinutes",
"usageType": "esriNAUTCost",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "Divider Restriction",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Driving an Automobile",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Driving a Bus",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Driving a Taxi",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Walking",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Driving a Truck",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Driving a Delivery Vehicle",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Driving an Emergency Vehicle",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Through Traffic Prohibited",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Avoid Unpaved Roads",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Avoid Toll Roads",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Avoid Limited Access Roads",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Avoid Ferries",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Avoid Private Roads",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Avoid Gates",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "TimeZone",
"dataType": "esriNADTInteger",
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "National STAA Preferred Route",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "National STAA and Locally Preferred Routes",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "HazMat: Explosives Preferred Route",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "HazMat: Poisonous Inhalation Hazard Preferred Route",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "HazMat: Radioactive Materials Preferred Route",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "HazMat: Explosives Restricted",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "HazMat: Flammable Goods Restricted",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "HazMat: Corrosive Goods Restricted",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Height Limit (feet)",
"dataType": "esriNADTDouble",
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "Height Restriction",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage",
"Vehicle Height (feet)"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Weight Limit (tons)",
"dataType": "esriNADTDouble",
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "Weight Restriction",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage",
"Vehicle Weight (tons)"
],
"restrictionUsageParameterName": "Restriction Usage"
},
{
"name": "Length Limit (feet)",
"dataType": "esriNADTDouble",
"units": "esriNAUUnknown",
"usageType": "esriNAUTDescriptor",
"parameterNames": [],
"restrictionUsageParameterName": null
},
{
"name": "Length Restriction",
"dataType": "esriNADTBoolean",
"units": "esriNAUUnknown",
"usageType": "esriNAUTRestriction",
"parameterNames": [
"Restriction Usage",
"Vehicle Length (feet)"
],
"restrictionUsageParameterName": "Restriction Usage"
}
],
"networkSources": [
{
"name": "Streets",
"elementType": "esriNETEdge",
"sourceType": "esriNSTEdgeFeature",
"id": 1
},
{
"name": "Streets_ND_Junctions",
"elementType": "esriNETJunction",
"sourceType": "esriNSTSystemJunction",
"id": 4
},
{
"name": "Dividers",
"elementType": "esriNETTurn",
"sourceType": "esriNSTTurnFeature",
"id": 2
},
{
"name": "RestrictedTurns",
"elementType": "esriNETTurn",
"sourceType": "esriNSTTurnFeature",
"id": 3
}
]
},
"hasM": true,
"hasZ": false,
"defaultCutoffValue": null,
"facilityCount": 1,
"travelDirection": "esriNATravelDirectionToFacility",
"outputLineType": "esriNAOutputLineTrueShape",
"directionsLanguage": "en",
"directionsSupportedLanguages": [
"en"
],
"directionsStyleNames": [
"NA Desktop",
"NA Navigation",
"NA Campus"
],
"directionsLengthUnits": "esriNAUMiles",
"directionsTimeAttribute": "TravelTime",
"timeOfDay": null,
"timeOfDayIsUTC": false,
"timeOfDayUsage": "esriNATimeOfDayUseAsStartTime"
}